home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / Hacking / FTP Hacking.sit / FTP Hacking ƒ / FTP Hacking.rsrc / TEXT_130.txt < prev    next >
Text File  |  1998-06-14  |  4KB  |  48 lines

  1.  
  2.    Instant MacOS FTP Servers 
  3.         with NCSA Telnet
  4.  
  5.  
  6. Written exclusively for HackAddict by Electrik Monk
  7. (electrikmonk@mailexcite.com, electrik@L0phT.com)
  8.  
  9.      Last issue I talked about the ins and outs of web based authentication systems. This issue we‚Äôll focus on setting up an easy, free, and (hopefully for you) fast FTP server with your or your school‚Äôs/office‚Äôs/whomever‚Äôs Mac.
  10.  
  11. Ingredients:
  12. ‚Ä¢ 1 Macintosh connected to the net, running System 7.1+
  13. ‚Ä¢ 1 copy of NCSA Telnet 2.6+ (Included)
  14.  
  15.      All set? Okay, let‚Äôs go. In case you didn‚Äôt notice, NCSA Telnet (and it‚Äôs hacks) have a crude but effective FTP serving capabilities built in. Why do you care, you being the k-rad Hotline admin you are? Well, for starters, you can upload and download new files incognito when other people are using a publicly accessible Mac. No one suspects Telnet to do anything useful or harmful on its own when it is open, so people leave it alone. However, try setting up a HL server at school or work and see how many people using the machine notice. (Hint: everyone does.) So, let‚Äôs get to the bottom of this. 
  16.  
  17.      When you are connected to the net, launch Telnet. Go to the ‚ÄúNetwork‚Äù menu and select ‚ÄúShow network numbers‚Äù. If you think you are connected but you really aren‚Äôt or there is a network problem, you will see:
  18.  
  19. TCP Error: failed to get IP address (MacTCP)
  20.  
  21.  
  22. which indicates there is a problem. If you really are connected you will see a dialog like:
  23.  
  24.  
  25. Network Address
  26. IP Number: 187.224.2.139
  27. MacTCP driver
  28.  
  29.  
  30. with your IP address. Record this because that is the number you type to access the server. Now for the fun part.    Go to the ‚ÄúEdit‚Äù menu and select ‚ÄúPreferences‚Äù and under that, ‚ÄúFTP Server‚Äù and later on, ‚ÄúFTP Users‚Äù. The FTP Server prefs turn on or turn off the FTP serving capabilities. By default, Netscape has it turned off.
  31.  
  32. NOTE: The Telnet FTP server is vulnerable to brute force hacking. Just so you know!!!
  33.  
  34.      You will want to turn the server on, WITH passwords required. You don‚Äôt want guests to access your entire hard drive! After configuring those pref‚Äôs, go to the FTP Users pref‚Äôs. Click on ‚ÄúNew‚Äù to bring up a dialog asking for default directory and user/pass fields.
  35.  
  36. The default directory is the root folder of your hard drive. If you don‚Äôt want everything accessible or only you regular HL server Files folder accessible, navigate and select that particular folder. The password is shown ON SCREEN the first time you type it in. 
  37.  
  38.  Beware, children, whose nosy school administrators own the Apple Network Admin Toolkit 2.0, as admin‚Äôs can look on your screen whenever they want without your knowing... With that said, the password will only be displayed the first time it is typed; all other times it will be ‚Äúdingbatted‚Äù, so to speak.
  39.  
  40.  Now that you have all your users set up, try your server out by FTPing into the address mentioned earlier (the one you wrote down) with your login and password with a FTP client such as Fetch 3.0x. If you are really depraved, use telnet itself to start an FTP session and try it out, but the commands will be arcane to those newbie WYSIWYG users.
  41.  
  42.      So, what can you do? Well, now you can update your HL server when the Hotline app is open, set up an HL server at school or work during off hours and update during the day with FTP, or you can abandon this community and use it as a plain ole FTP server. 
  43. NOTE: Telnet does not perform to the standards of, say, NetPresenz or Rumpus. Don‚Äôt get all your hopes up. The purpose of using Telnet is the hidden features and stealth tactics. If you still don‚Äôt understand, go back and read the article!
  44.  
  45.      Standard Disclaimer: you didn‚Äôt hear it from me that Hotline is much faster on the school/company T1/T3....and don‚Äôt get caught or do stupid stuff. Duh!
  46.  
  47.     Have fun,
  48.     Electrik Monk